package weekendpractice.AnimalZoo;

public class Chicken extends Animal implements LayEggs {
     Chicken(int age, String name, String color) {
        super(age, name, color);
    }

    @Override
    void eat() {
        System.out.println(name+" like to eat millet...");
    }

    @Override
    public void layEggs() {
        System.out.println(name+" can lay eggs!!! Wow!!");
    }
}
